// 父路由的组件
import Layout from '@/layout'
export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      component: () => import('@/views/employees'),
      name: 'employees',
      // 是否在菜单显示   false是显示   true是不显示
      hidden: false,
      // 配置菜单中显示的名称和图标
      meta: { title: '员工管理', icon: 'people' }
    },
    {
      path: 'detail/:id',
      component: () => import('@/views/employees/components/detail.vue'),
      hidden: true,
      meta: {
        title: '员工详情'
      }
    }
  ]
}
